package edu.sctu.practice.class02.Wangpeng.Test18;

import edu.sctu.practice.class01.fengleilin.test10.Addition;
import edu.sctu.practice.class01.huangtianlin.text1.A;
import edu.sctu.practice.class02.xuqianlan.test.test13.C;

/**
 * Created by wp on 2015/11/9.
 */
public class Car extends Auto {
    boolean Aircondition;
    boolean CD;
    public Car(int tires,String color,int load,int speed,boolean Aircondition,boolean CD){
        super(tires,color,load,speed);
        this.Aircondition=Aircondition;
        this.CD= CD;
    }
    void downspeed(){
        System.out.println("减速");
    }
    void getInfo(){
        System.out.println("轮胎"+tires+"颜色"+color+"重量"+load+"速度"+speed+"空调"+ Aircondition);
    }
}
